package io.github.topcatv.mall.common.support;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liuyi
 */
@Data
@EqualsAndHashCode(of = {"id"})
public abstract class BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer id;
}
